﻿
using ApplicationGenerator.BusinessModule.Interfaces;
namespace ApplicationGenerator.BusinessModule.MetaElements
{
    /// <summary>
    /// Fasada dla meta modeli
    /// </summary>
    internal class MetaModelFacade : IMetaModelFacade
    {
        public IMetaModelCollection MetaModelCollection
        {
            get;
            private set;
        }

        public IMetaDictionaryCollection MetaDictionaryCollection
        {
            get;
            private set;
        }

        internal MetaModelFacade()
        {
            MetaModelManager metaManager = MetaModelManager.Instance;
            MetaModelCollection = metaManager.MetaModelCollection;
            MetaDictionaryCollection = metaManager.MetaDictionaryCollection;
        }
    }
}
